package com.chouxiaozi.feignclient;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentClient {
    @Override
    public String payment_ok() {
        return "PaymentFallbackService:"+Thread.currentThread().getName()+"  payment_ok is busy!!!";
    }

    @Override
    public String payment_timeout() {
        return "PaymentFallbackService:"+Thread.currentThread().getName()+"  payment_timeout is busy!!!";
    }
}
